6474a3e98b4da0abfe83a2d730b6d7ecb1ca4029,portal-service/src/com/liferay/portal/kernel/util/ContextPathUtil.java,ContextPathUtil,getContextPath,#ServletContext#,36
Before Change
}
public static String getContextPath(ServletContext servletContext) {
return getContextPath(servletContext.getContextPath());
}
public static String getContextPath(String contextPath) {
After Change
String contextPath;
if (ServletVersionDetector.is2_5()) {
contextPath = servletContext.getContextPath();
}
else {
contextPath = (String)servletContext.getAttribute(WebKeys.CTX_PATH);